<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page import="com.ncp.model.biz.video.*" %>
<%@ page import="com.ncp.model.entity.video.*" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%
String id=request.getParameter("id");
VideoBean vb=new VideoManager().getVideo(id);
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>农庄风采</title>
<link rel="stylesheet" href="css/common_js.css" type="text/css"></link>

<link rel="stylesheet" href="css/index_js.css" type="text/css"/>
<link rel="stylesheet" href="css/common.css" type="text/css"/>
<link rel="stylesheet" href="css/cein_list.css" type="text/css"/>

<script type="text/javascript" src="js/jquery-1.4.2.js"></script>
<script type="text/javascript" src="js/slider.js"></script>
</head>

<body>
	<div id="allpage">
		<jsp:include flush="true" page="../index/head.jsp"></jsp:include>
		
		<div id="page">
			
			
			<div id="content" class="right">
				<div id="main" style="width:800px;">
					<p style="font-weight:bold; font-size:28px; line-height:30px; text-align:center;"><%=vb.getName() %></p>
					<p style=" border-bottom:1px solid #DDD;"></p>
					<div class="line">
					
					<style>
					.line div a img{ width:550px; height:430px;}
					</style>
						<div style="width:550px; margin:0 auto; height:430px; overflow:hidden;">
							<!-- 
							<a href="">
							<img src="images/buttom_0.jpg"/></a>
							 -->
							 <object id="NSPlay" width=540 height=450 classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en
								/nsmp2inf.cab#Version=6,4,5,715" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject" align="right" hspace="5">
								<param name="AutoRewind" value="1">
								<param name="FileName" value="video/<%=vb.getRealName() %>">
											
								<param name="ShowControls" value="1">
								<param name="ShowPositionControls" value="0">
								<param name="ShowAudioControls" value="1">
								<param name="ShowTracker" value="0">
								<param name="ShowDisplay" value="1">
								<param name="ShowStatusBar" value="0">
								<param name="ShowGotoBar" value="0">
								<param name="ShowCaptioning" value="0">
								<param name="AutoStart" value=1>
								<param name="Volume" value="-2500">
								<param name="AnimationAtStart" value="0">
								<param name="TransparentAtStart" value="0">
								<param name="AllowChangeDisplaySize" value="0">
								<param name="AllowScan" value="0">
								<param name="EnableContextMenu" value="0">
								<param name="ClickToPlay" value="0">
							</object>
						</div>
						
						<!-- <div style="clear:both"></div> -->
					</div>
					
				</div>
			</div>
			
			
		</div>	
		
	<div style="clear:both"></div>
	<div id="slice">
	</div>
	
	<p id="footer">地址：山东省淄博市张店区创业园&emsp;&emsp;电话：0533-545645634/0533-64533232&emsp;&emsp;传真：0533-545645634</p>
	
	</div>
	
	</div>
</body>
</html>
